package com.company.cloud.user.modules.mgr.service;

import com.company.cloud.common.bean.LoginSimpleUserInfo;
import com.company.cloud.user.modules.api.request.UserMgrUpdateParam;
import com.company.cloud.user.modules.mgr.controller.req.UserRegisterByAdminParam;

public interface UserMgrService {

    /**
     * 注册用户信息
     */
    public void register(UserRegisterByAdminParam param, LoginSimpleUserInfo userInfo);

    /**
     * 更新用户信息
     */
    public void update(UserMgrUpdateParam param, LoginSimpleUserInfo userInfo);

    /**
     * 更新用户状态
     */
    public void updateUserState(Integer id, String state, LoginSimpleUserInfo userInfo);

    /**
     * 更新用户密码
     */
    public void updateUserPassword(Integer id, String password, LoginSimpleUserInfo userInfo);

}
